<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
{% comment %}
<!--
  Copyright 2008 ZHENG Zhong <http://www.zhengzhong.net/>

  Created on 2009-04-21.
  $Id$
-->
{% endcomment %}

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

  <head>
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="description" content="ZHENG Zhong's homepage"/>
    <meta name="keywords" content="ZHENG Zhong,zheng,zzheng,zhengzhong,heavyz,heavyzheng,"/>
    <title>Webapp Information</title>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico"/>
    
    <style type="text/css"><!--
    
      body {
        margin: 0;
        padding: 0;
        font: normal normal 90% arial,sans-serif;
        color: #444444;
        background-color: #FFFFFF;
        text-align: center;
      }
      
      h1, h2, h3, h4, h5, h6 {
        font-family: 'Trebuchet MS',arial,sans-serif;
      }
      
      h1 {
        margin: 0;
        padding: 4px;
        font-size: 140%;
        border-bottom: 1px solid #DDDDDD;
      }
      
      h2 {
        margin: 0;
        padding: 4px;
        font-size: 125%;
      }
      
      table th, table td {
        margin: 0;
        padding: 2px 8px 2px 8px;
        font-family: 'Courier New',courier,arial, sans-serif;
      }
      
      table th {
        background-color: #EEEEEE;
        border: 1px solid #DDDDDD;
      }
      
      table td {
        border-bottom: 1px solid #DDDDDD;
      }
      
      #webapp_info {
        margin: 0;
        padding: 20px;
        text-align: left;
      }
      
      #webapp_info .section {
        margin: 0;
        padding: 4px 0 4px 0;
      }
    
    --></style>
  
  </head>
  
  <body>
  
    <div id="webapp_info">
    
      <div class="section">
        <h1>Webapp information</h1>
      </div>
      
      <div id="os_environ" class="section">
        <h2>os.environ dict</h2>
        <table width="100%">
          <thead>
            <tr>
              <th>Name</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody>
            {% for name, value in os_environ.items %}
              <tr>
                <td>{{name|escape}}</td>
                <td>{{value|escape}}</td>
              </tr>
            {% endfor %}
          </tbody>
        </table>
      </div><!--/#os_environ-->
      
      <div id="request_meta" class="section">
        <h2>request.META dict</h2>
        <table width="100%">
          <thead>
            <tr>
              <th>Name</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody>
            {% for name, value in request_meta.items %}
              <tr>
                <td>{{name|escape}}</td>
                <td>{{value|escape}}</td>
              </tr>
            {% endfor %}
          </tbody>
        </table>
      </div><!--/#request_meta-->
    
    </div><!--/#webapp_info-->
  
  </body>

</html>


